import vueRouter from 'vue-router'
import Vue from 'vue'
import home from '../pages/home'
import login from '../pages/login'
import register from '../pages/register'
Vue.use(vueRouter)
const router = new vueRouter({
    routes: [
        {
            path: '/',
            component: home,
        },
        {
            path: '/home',
            component: home,
        },
        {
            path: '/login',
            component: login,
        },
        {
            path: '/register',
            component: register,
        },
    ]
})
export default router